package com.sourcespro.mybatis.service.impl;

import com.sourcespro.mybatis.dao.CategoryMapper;
import com.sourcespro.mybatis.service.CategoryService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 分类
 *
 * @author 张浩伟
 * @date 2018/07/07
 */
@Service
public class CategoryServiceImpl implements CategoryService {

    private static final Logger logger = LoggerFactory.getLogger(CategoryServiceImpl.class);

    @Autowired
    private CategoryMapper mapper;

    @Override
    public void ok() {
        mapper.selectByPrimaryKey(1);
    }
}